package net.betou.cms.dao.assist;

import java.util.List;

import net.betou.cms.entity.assist.CmsGuestbook;
import net.betou.common.hibernate3.Updater;
import net.betou.common.page.Pagination;

public interface CmsGuestbookDao{
	public Pagination getPage( Integer siteId, Integer ctgId, Integer userId, Boolean recommend, Boolean checked, boolean desc, boolean cacheable, int pageNo, int pageSize );

	public List< CmsGuestbook > getList( Integer siteId, Integer ctgId, Boolean recommend, Boolean checked, boolean desc, boolean cacheable, int first, int max );

	public CmsGuestbook findById( Integer id );

	public CmsGuestbook save( CmsGuestbook bean );

	public CmsGuestbook updateByUpdater( Updater< CmsGuestbook > updater );

	public CmsGuestbook deleteById( Integer id );
}